<?php

namespace App\Http\Controllers;

// use App\User;

class UserController extends HomeController
{
    /**
     * Show the profile for the given user.
     *
     * @param  int  $id
     * @return Response
     */
    public function info()
    {
		$user = array(
			'guid' => $this->user['guid'],
			'username' => $this->user['username'],
			'email' => $this->user['email'],
			//'mobile' => $this->user['mobile'],
			'status' => $this->user['status']
		);
        return response()->json(build_result(["info" => $user]));
    }
}
